#coding=utf-8
import requests
url = 'http://10.10.3.85:9010/tuning/index.php?s=/Webapi/Index/test.html'
path = u'F:/www/appxiangmu/houduan/php/tuning/logo.png'
print (path)
files = {'file': open(path, 'rb')}
r = requests.post(url, files=files)
print( r.url,r.text)